package com.wbc.mybatisplusextdemo.demos.ext;

/**
 * @Author: wangbingchen
 * @CreateTime: 2024-04-21
 */
import com.tangzc.mpe.autotable.annotation.Table;
import com.tangzc.autotable.annotation.mysql.MysqlCharset;
import com.tangzc.autotable.annotation.mysql.MysqlEngine;
import com.tangzc.mpe.processer.annotation.AutoDefine;
import com.tangzc.mpe.processer.annotation.AutoRepository;
import lombok.Data;
@AutoDefine
@AutoRepository
@Data
// 指定表的编码
@MysqlCharset(charset = "utf8mb4", collate = "utf8mb4_general_ci")
// 指定表的存储引擎
@MysqlEngine("myisam")
// 指定表名、表注释、数据源、忽略字段（不参与建表）
@Table(value = "test_table", comment = "测试表", dsName = "my-mysql", excludeProperty={MysqlTable2Define.ext})
public class MysqlTable2 {

    private Integer id;

    private String username;

    private Integer age;

    private String phone;

    private String ext;
}